.class public Lcom/xingbook/xingbook/a/b;
.super Lcom/xingbook/park/a/a;


# instance fields
.field private f:Lcom/xingbook/xingbook/d/l;


# direct methods
.method public constructor <init>(Landroid/app/Activity;Lcom/xingbook/xingbook/d/l;Lcom/xingbook/park/c/a/p;)V
    .locals 0

    invoke-direct {p0, p1, p3}, Lcom/xingbook/park/a/a;-><init>(Landroid/app/Activity;Lcom/xingbook/park/c/a/p;)V

    iput-object p2, p0, Lcom/xingbook/xingbook/a/b;->f:Lcom/xingbook/xingbook/d/l;

    return-void
.end method


# virtual methods
.method public a(IZ)Lcom/xingbook/park/c/a/n;
    .locals 5

    const/4 v0, 0x0

    const/16 v1, 0x30

    if-ne p1, v1, :cond_1

    new-instance v1, Lcom/xingbook/xingbook/d/i;

    iget-object v2, p0, Lcom/xingbook/xingbook/a/b;->b:Landroid/app/Activity;

    iget v3, p0, Lcom/xingbook/xingbook/a/b;->a:F

    iget-object v4, p0, Lcom/xingbook/xingbook/a/b;->f:Lcom/xingbook/xingbook/d/l;

    invoke-direct {v1, v2, v3, v4, v0}, Lcom/xingbook/xingbook/d/i;-><init>(Landroid/content/Context;FLcom/xingbook/xingbook/d/l;Lcom/xingbook/park/ui/o;)V

    :goto_0
    if-eqz v1, :cond_0

    instance-of v0, v1, Lcom/xingbook/service/download/m;

    if-eqz v0, :cond_0

    iget-object v2, p0, Lcom/xingbook/xingbook/a/b;->e:Ljava/util/ArrayList;

    new-instance v3, Ljava/lang/ref/WeakReference;

    move-object v0, v1

    check-cast v0, Lcom/xingbook/service/download/m;

    invoke-direct {v3, v0}, Ljava/lang/ref/WeakReference;-><init>(Ljava/lang/Object;)V

    invoke-virtual {v2, v3}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    :cond_0
    return-object v1

    :cond_1
    move-object v1, v0

    goto :goto_0
.end method
